package com.qianyue.命令模式;

import java.util.HashMap;
import java.util.Map;

/**
 * 订单
 *
 * @author qian yue
 * @version v1.0.0
 * @since 2025/2/4 21:47
 */
public class Order {
    private Integer diningTable;

    private final Map<String,Integer> foodDic = new HashMap<String,Integer>();

    public Integer getDiningTable() {
        return diningTable;
    }

    public void setDiningTable(Integer diningTable) {
        this.diningTable = diningTable;
    }

    public Map<String, Integer> getFoodDic() {
        return foodDic;
    }

    public void setFoodDic(String foodName, Integer num) {
        foodDic.put(foodName, num);
    }
}
